import { createApp } from 'vue'
import App from './App.vue'
import './assets/base.css'
import 'amfe-flexible'
import router from './router/index'
import store from "./store"
import 'vant/es/toast/style'
import 'vant/es/dialog/style'
import { Form, Field, CellGroup } from 'vant';
import './api/mock'

//按需引入组件
// import {Button,Icon} from 'vant';
//按需引入样式
// import 'vant/lib/index.css'

const app = createApp(App)
app.use(router).use(store).use(Form).use(Field).use(CellGroup)
// .use(Button).use(Icon)
app.mount('#app')
